Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit async function #3

Merged
merged 1 commit into from
Mar 17, 2017
Merged

Add explicit async function #3

merged 1 commit into from
Mar 17, 2017

Conversation

dk00
Copy link
Owner

@dk00 dk00 commented Mar 16, 2017

See #2.

Allow explicitly marking functions as async like JS.

async ->
async ~>
async function =>

compiles to

(async function () {});
async () => {};
(async function () {});

async is optional, usage of await still mark async function implicitly.

@gkovacs Any notes?

@codecov
Copy link

codecov bot commented Mar 16, 2017

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines         387    388    +1     
  Branches      167    169    +2     
=====================================
+ Hits          387    388    +1
Impacted Files Coverage Δ
src/convert.ls 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 981ffe8...a775f42. Read the comment docs.

@gkovacs
Copy link

gkovacs commented Mar 16, 2017

@dk00 Looks great! Thank you for the fast turnaround!

@dk00 dk00 merged commit 10e81be into master Mar 17, 2017
@dk00 dk00 deleted the explicit-async branch March 17, 2017 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants